package com.eCommerce.corecontract.criteria;

import java.io.Serializable;

import com.eCommerce.corecontract.dto.CategorieDTO;

public class ComposantCriteria implements Serializable{
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}
	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * @return the libelle
	 */
	public String getLibelle() {
		return libelle;
	}
	/**
	 * @param libelle the libelle to set
	 */
	public void setLibelle(String libelle) {
		this.libelle = libelle;
	}
	/**
	 * @return the nbComposantStock
	 */
	public long getNbComposantStock() {
		return nbComposantStock;
	}
	/**
	 * @param nbComposantStock the nbComposantStock to set
	 */
	public void setNbComposantStock(long nbComposantStock) {
		this.nbComposantStock = nbComposantStock;
	}
	public void setIdCategorie(Long idCategorie) {
		this.idCategorie = idCategorie;
	}
	public Long getIdCategorie() {
		return idCategorie;
	}
	private Long id;
	private String code;
	private String libelle;
	private long nbComposantStock;
	private Long idCategorie;
	private CategorieDTO categorieDTO;
	/**
	 * @param code
	 * @param libelle
	 * @param nbComposantStock
	 */
	public CategorieDTO getCategorieDTO() {
		return categorieDTO;
	}
	public void setCategorieDTO(CategorieDTO categorieDTO) {
		this.categorieDTO = categorieDTO;
	}
}
